package main.java.FSMDE.validation.rules;

import main.java.ERMDE.validation.ValidationType;
import main.java.FSMDE.models.Diagram;
import main.java.FSMDE.validation.IValidationEntry;


public class DiagramStartInterfaceValidationEntry implements
		IValidationEntry {
	
	private Diagram diagram;
	
	public DiagramStartInterfaceValidationEntry(Diagram diagram){
		this.diagram = diagram;
	}
	
	@Override
	public Diagram getDiagram() {
		return this.diagram;
	}

	@Override
	public String getMessage() {
		return String.format("Start Interface is not set.");
	}

	@Override
	public ValidationType getType() {
		return ValidationType.ERROR;
	}

}
